//
//  LWAccountViewController.h
//  LWShopItem
//
//  Created by mac on 17/5/4.
//  Copyright © 2017年 LWShop.com. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LWDetailModel.h"

@class LWAccountModel,LWAccountViewController;

@protocol LWAccountViewControllerDelegate <NSObject>

//可选的
@optional
//编辑修改的代理方法
- (void)detilVcDidFinishEndingContact:(LWAccountViewController *)detilVc;

//添加新的联系人的代理方法
- (void)detilVc:(LWAccountViewController *)detilVc addModel:(LWAccountModel *)newModel;


@end


@interface LWAccountViewController : UITableViewController

@property(nonatomic,strong)NSArray<LWDetailModel *> *accountArr;

//代理属性
@property(weak,nonatomic)id<LWAccountViewControllerDelegate>delegate;

@property (strong,nonatomic)LWAccountModel *model;


@end

